import scrapy


class FeiluSpider(scrapy.Spider):
    name = "feilu"

    async def start(self):
        url = "https://b.faloo.com/Re_44_1.html"
        yield scrapy.Request(url)

    def parse(self, response):
        title = response.xpath("//div[@class='c_c_d_da_title']/a/text()").getall()
        detail_url = response.xpath("//div[@class='c_c_d_da_title']/a/@href").getall()
        img_url = response.xpath("//div[@class='c_c_d_da_img']/a/img/@src").getall()
        print(title, detail_url, img_url)
